package com.epoint.JenkinsExtension;

public class ClientInfo {

    public ClientInfo() {
    }

    public ClientInfo(String url, String username, String password) {
        this._url = url;
        this._username = username;
        this._password = password;
    }

    public ClientInfo(String url, String username, String password, String crumb) {
        this._url = url;
        this._username = username;
        this._password = password;
        this._crumb=crumb;
    }

    private String _url;

    public String getUrl() {
        if (!_url.endsWith("/")) {
            _url += "/";
        }
        return this._url;
    }

    public void setUrl(String a) {
        this._url = a;
    }

    private String _crumb;

    public String getCrumb() {
        return this._crumb;
    }

    public void setCrumb(String a) {
        this._crumb = a;
    }

    private String _username;

    public String getUserName() {

        return this._username;
    }

    public void setUserName(String a) {
        this._username = a;
    }

    private String _password;

    public String getPassWord() {
        return this._password;
    }

    public void setPassWord(String a) {
        this._password = a;
    }
}

